Ext.define('SSOPanel', {
    extend: 'Ext.Panel',
    layout: 'vbox',
    width: 510,
    border : false,
    initComponent: function() {
        Ext.apply(this, {
//            width: 680,
            x :(document.body.clientWidth / 2) - 300,
		    y: (document.body.clientHeight / 2) + 360,
            items: [{
                xtype: 'container',
                layout: {
                    type: 'table',
                    columns: 3,
                    tdAttrs: { style: 'padding: 5px 10px;' }
                },
                defaults: {
                    width: 150,
                    textAlign: 'center'
                },
                items: [ {
                    xtype: 'button',
                    text: 'RMS',
                    scale: 'large',
                    handler : function(){
                    	location.href = 'index.do';
                    }
                }, {
                    xtype: 'button',
                    text: 'CMS',
                    scale: 'large',
                    handler : function(){
                    	alert(loginKey);
//                    	location.href = 'index.do';
                    }
                }, {
                    xtype: 'button',
                    text: '예약관리',
                    scale: 'large',
                    handler : function(){
                    	alert(loginKey);
//                    	location.href = 'index.do';
                    }
                }]
            }]
        });
        this.callParent();
    }
});